#include <bits/stdc++.h>
using namespace std;

int main() {
    //srand(time(0));
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    /*
    int n = 30;
    printf("%d ", n);
    for (;n--;) {
        printf("%d ", rand() % 100000);
    }
    */
    int n, res = 0;
    scanf("%d", &n);
    vector<int> v(n + 1);
    for (int i = 1; i <= n; i++)
        scanf("%d", &v[i]);
    sort(v.begin() + 1, v.end());
    v[0] = -2e9;
    v.push_back(2e9);
    for (int i = 1, cnt = 0; i <= n + 1; i++) {
        if (v[i] != v[i - 1]) {
            res = max(res, cnt);
            cnt = 0;
        }
        cnt++;
    }
    printf("%d", res);
    return 0;
}
/*

30
63726 55762 70415 52213 95832 90836 65073 7448 49238 47990 92531 29040 23984 33832 73431 72388 86107 83534 38283 54530 71607 28702 94422 84229 41098 39479 57318 1659 98920 67393

*/
